<table class="list issues">
  <% IssueStatus.all.each do |item| %>
    <% @st_key = "issue_status_" + item.id.to_s %>
    <tr class="issue <%= @st_key %>">
      <td align="left" width="33%" style="text-align:left;width=33%;">
        <b><%= item.name %>:</b>
      </td>
      <td align="left" width="33%" style="text-align:left;width=33%;">
        <% @stcl_key = @st_key + "_color" %>
        <% @stcl_field_id = "settings[" + @stcl_key + "]" %>
        <%= color_field_tag @stcl_field_id, settings[@stcl_key].presence || '#FFFFFF', :class => "color {hash:true}" %>
      </td>
    </tr>
  <% end %>
</table>